import Http from "@/util/http";

/**
 * 提交评分
 */
export const pushScore = (data) => {
    return Http({
        url: '/just/score/push',
        method: 'put',
        data
    })
}

/**
 * 刷新评分
 */
export const getScore = (id) => {
    return Http({
        url: '/just/score/get-score',
        method: 'get',
        params: {id}
    })
}
